package com.cqq.print.base.dao.impl;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.print.base.dao.domain.PPublisher;
import com.cqq.print.base.dao.mapper.PPublisherMapper;


/**
 * @author generated
 * @date 2015-07-01
 */


@Repository(value="pPublisherDao")
public class PPublisherDaoImpl extends com.cqq.common.core.base.BaseDao implements com.cqq.print.base.dao.PPublisherDao{

             @Autowired
             private PPublisherMapper pPublisherMapper;



    public int deleteByPrimaryKey(Integer id){
        return pPublisherMapper.deleteByPrimaryKey(id);
    }

    public int insert(PPublisher record){
        return pPublisherMapper.insert(record);
    }

    public int insertSelective(PPublisher record){
        return pPublisherMapper.insertSelective(record);
    }

    public PPublisher selectByPrimaryKey(Integer id){
        return pPublisherMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(PPublisher record){
        return pPublisherMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(PPublisher record){
        return pPublisherMapper.updateByPrimaryKey(record);
    }

	
	public List<PPublisher> queryPPublisher(Map<String, Object> map) {
		return pPublisherMapper.queryPPublisher(map);
	}

	
	public int queryPPublisherCount(Map<String, Object> map) {
		return pPublisherMapper.queryPPublisherCount(map);
	}

	
	public List<PPublisher> queryPPublishers(Map<String, Object> map) {
		return pPublisherMapper.queryPPublishers(map);
	}



}